package com.cloud.quickcommon.exception;

import java.io.Serializable;

/**
 * 业务异常
 *
 * @author HQL
 * @version 1.0
 * @date 2019/6/14 15:24
 */
public class BusinessException extends RuntimeException implements Serializable {

    private static final long serialVersionUID = -1048196773838479614L;

    public BusinessException(String message) {
        super(message);
    }

    /**
     * 静态初始化
     */
    public static BusinessException instance(String message) {
        return new BusinessException(message);
    }

}
